local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1, L39_1
L0_1 = {}
L0_1.group_id = 133223330
L1_1 = {}
L1_1.duration = 60
L1_1.sum = 15
L1_1.group_id = 133223330
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 330001
L3_1.gadget_id = 70350083
L4_1 = {}
L4_1.x = -5930.133
L4_1.y = 236.118
L4_1.z = -2591.726
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 4.282
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 330002
L4_1.gadget_id = 70360001
L5_1 = {}
L5_1.x = -5929.921
L5_1.y = 237.053
L5_1.z = -2591.323
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 9.878
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 330003
L5_1.gadget_id = 70330064
L6_1 = {}
L6_1.x = -5924.349
L6_1.y = 236.395
L6_1.z = -2590.814
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.interact_id = 35
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 330004
L6_1.gadget_id = 70900380
L7_1 = {}
L7_1.x = -5952.859
L7_1.y = 268.684
L7_1.z = -2551.355
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 330005
L7_1.gadget_id = 70290150
L8_1 = {}
L8_1.x = -5948.185
L8_1.y = 264.592
L8_1.z = -2557.264
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 330006
L8_1.gadget_id = 70290150
L9_1 = {}
L9_1.x = -5946.795
L9_1.y = 265.085
L9_1.z = -2560.99
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 18
L9_1 = {}
L9_1.config_id = 330007
L9_1.gadget_id = 70290150
L10_1 = {}
L10_1.x = -5958.55
L10_1.y = 277.381
L10_1.z = -2547.693
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 18
L10_1 = {}
L10_1.config_id = 330008
L10_1.gadget_id = 70900380
L11_1 = {}
L11_1.x = -5927.024
L11_1.y = 244.111
L11_1.z = -2587.203
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 18
L11_1 = {}
L11_1.config_id = 330009
L11_1.gadget_id = 70900380
L12_1 = {}
L12_1.x = -5928.017
L12_1.y = 251.351
L12_1.z = -2576.884
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 18
L12_1 = {}
L12_1.config_id = 330010
L12_1.gadget_id = 70290150
L13_1 = {}
L13_1.x = -5927.537
L13_1.y = 251.726
L13_1.z = -2582.335
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.area_id = 18
L13_1 = {}
L13_1.config_id = 330011
L13_1.gadget_id = 70290150
L14_1 = {}
L14_1.x = -5925.989
L14_1.y = 247.429
L14_1.z = -2567.859
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 18
L14_1 = {}
L14_1.config_id = 330012
L14_1.gadget_id = 70290150
L15_1 = {}
L15_1.x = -5927.299
L15_1.y = 246.216
L15_1.z = -2562.899
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 18
L15_1 = {}
L15_1.config_id = 330013
L15_1.gadget_id = 70290150
L16_1 = {}
L16_1.x = -5931.317
L16_1.y = 246.249
L16_1.z = -2566.563
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.area_id = 18
L16_1 = {}
L16_1.config_id = 330014
L16_1.gadget_id = 70290150
L17_1 = {}
L17_1.x = -5928.894
L17_1.y = 248.364
L17_1.z = -2571.263
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.area_id = 18
L17_1 = {}
L17_1.config_id = 330015
L17_1.gadget_id = 70330064
L18_1 = {}
L18_1.x = -5931.82
L18_1.y = 246.519
L18_1.z = -2573.702
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.177
L18_1.y = 30.878
L18_1.z = 28.461
L17_1.rot = L18_1
L17_1.level = 1
L17_1.interact_id = 35
L17_1.area_id = 18
L18_1 = {}
L18_1.config_id = 330016
L18_1.gadget_id = 70900380
L19_1 = {}
L19_1.x = -5931.178
L19_1.y = 255.592
L19_1.z = -2566.431
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.area_id = 18
L19_1 = {}
L19_1.config_id = 330017
L19_1.gadget_id = 70900380
L20_1 = {}
L20_1.x = -5937.09
L20_1.y = 264.96
L20_1.z = -2564.368
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.area_id = 18
L20_1 = {}
L20_1.config_id = 330018
L20_1.gadget_id = 70900380
L21_1 = {}
L21_1.x = -5964.431
L21_1.y = 277.624
L21_1.z = -2543.113
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L20_1.area_id = 18
L21_1 = {}
L21_1.config_id = 330019
L21_1.gadget_id = 70290150
L22_1 = {}
L22_1.x = -5974.151
L22_1.y = 277.742
L22_1.z = -2538.198
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L21_1.area_id = 18
L22_1 = {}
L22_1.config_id = 330020
L22_1.gadget_id = 70290150
L23_1 = {}
L23_1.x = -5980.837
L23_1.y = 276.061
L23_1.z = -2536.88
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L22_1.area_id = 18
L23_1 = {}
L23_1.config_id = 330021
L23_1.gadget_id = 70290150
L24_1 = {}
L24_1.x = -5988.319
L24_1.y = 274.615
L24_1.z = -2536.769
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L23_1.area_id = 18
L24_1 = {}
L24_1.config_id = 330022
L24_1.gadget_id = 70900380
L25_1 = {}
L25_1.x = -5991.257
L25_1.y = 280.848
L25_1.z = -2539.227
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L24_1.area_id = 18
L25_1 = {}
L25_1.config_id = 330023
L25_1.gadget_id = 70290150
L26_1 = {}
L26_1.x = -5995.714
L26_1.y = 286.098
L26_1.z = -2543.845
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 0.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L25_1.area_id = 18
L26_1 = {}
L26_1.config_id = 330024
L26_1.gadget_id = 70290150
L27_1 = {}
L27_1.x = -5950.599
L27_1.y = 263.73
L27_1.z = -2553.389
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L26_1.area_id = 18
L27_1 = {}
L27_1.config_id = 330031
L27_1.gadget_id = 70290150
L28_1 = {}
L28_1.x = -6002.731
L28_1.y = 283.48
L28_1.z = -2570.15
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L27_1.area_id = 18
L28_1 = {}
L28_1.config_id = 330032
L28_1.gadget_id = 70290150
L29_1 = {}
L29_1.x = -6006.93
L29_1.y = 283.48
L29_1.z = -2566.544
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L28_1.area_id = 18
L29_1 = {}
L29_1.config_id = 330033
L29_1.gadget_id = 70290150
L30_1 = {}
L30_1.x = -6002.377
L30_1.y = 283.48
L30_1.z = -2565.515
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 0.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L29_1.area_id = 18
L30_1 = {}
L30_1.config_id = 330034
L30_1.gadget_id = 70290150
L31_1 = {}
L31_1.x = -6004.413
L31_1.y = 283.706
L31_1.z = -2553.266
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 0.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L30_1.area_id = 18
L31_1 = {}
L31_1.config_id = 330035
L31_1.gadget_id = 70900380
L32_1 = {}
L32_1.x = -5999.055
L32_1.y = 284.567
L32_1.z = -2574.571
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L31_1.area_id = 18
L32_1 = {}
L32_1.config_id = 330036
L32_1.gadget_id = 70900380
L33_1 = {}
L33_1.x = -5992.93
L33_1.y = 294.137
L33_1.z = -2578.942
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 0.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L32_1.area_id = 18
L33_1 = {}
L33_1.config_id = 330037
L33_1.gadget_id = 70900380
L34_1 = {}
L34_1.x = -5985.747
L34_1.y = 301.96
L34_1.z = -2580.515
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 0.0
L34_1.y = 0.0
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L33_1.area_id = 18
L34_1 = {}
L34_1.config_id = 330038
L34_1.gadget_id = 70290150
L35_1 = {}
L35_1.x = -5996.629
L35_1.y = 289.335
L35_1.z = -2577.166
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 0.0
L35_1.y = 0.0
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 1
L34_1.area_id = 18
L35_1 = {}
L35_1.config_id = 330039
L35_1.gadget_id = 70290150
L36_1 = {}
L36_1.x = -5990.999
L36_1.y = 299.731
L36_1.z = -2579.109
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 0.0
L36_1.y = 0.0
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 1
L35_1.area_id = 18
L36_1 = {}
L36_1.config_id = 330040
L36_1.gadget_id = 70290150
L37_1 = {}
L37_1.x = -5981.948
L37_1.y = 305.476
L37_1.z = -2581.345
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 0.0
L37_1.y = 0.0
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 1
L36_1.area_id = 18
L37_1 = {}
L37_1.config_id = 330041
L37_1.gadget_id = 70330064
L38_1 = {}
L38_1.x = -5949.417
L38_1.y = 259.956
L38_1.z = -2567.712
L37_1.pos = L38_1
L38_1 = {}
L38_1.x = 2.306
L38_1.y = 36.455
L38_1.z = 359.234
L37_1.rot = L38_1
L37_1.level = 1
L37_1.interact_id = 35
L37_1.area_id = 18
L38_1 = {}
L38_1.config_id = 330042
L38_1.gadget_id = 70330064
L39_1 = {}
L39_1.x = -6003.68
L39_1.y = 282.369
L39_1.z = -2551.989
L38_1.pos = L39_1
L39_1 = {}
L39_1.x = 0.0
L39_1.y = 112.596
L39_1.z = 10.422
L38_1.rot = L39_1
L38_1.level = 1
L38_1.interact_id = 35
L38_1.area_id = 18
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
L2_1[17] = L19_1
L2_1[18] = L20_1
L2_1[19] = L21_1
L2_1[20] = L22_1
L2_1[21] = L23_1
L2_1[22] = L24_1
L2_1[23] = L25_1
L2_1[24] = L26_1
L2_1[25] = L27_1
L2_1[26] = L28_1
L2_1[27] = L29_1
L2_1[28] = L30_1
L2_1[29] = L31_1
L2_1[30] = L32_1
L2_1[31] = L33_1
L2_1[32] = L34_1
L2_1[33] = L35_1
L2_1[34] = L36_1
L2_1[35] = L37_1
L2_1[36] = L38_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1330025
L3_1.name = "GADGET_CREATE_330025"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_330025"
L3_1.action = "action_EVENT_GADGET_CREATE_330025"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1330026
L4_1.name = "SELECT_OPTION_330026"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_330026"
L4_1.action = "action_EVENT_SELECT_OPTION_330026"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1330027
L5_1.name = "GADGET_STATE_CHANGE_330027"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_330027"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_330027"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1330028
L6_1.name = "CHALLENGE_SUCCESS_330028"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = "666"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_330028"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1330029
L7_1.name = "CHALLENGE_FAIL_330029"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
L7_1.event = L8_1
L7_1.source = "666"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_FAIL_330029"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1330030
L8_1.name = "ANY_GADGET_DIE_330030"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_GADGET_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = ""
L8_1.action = ""
L8_1.trigger_count = 0
L8_1.tag = "999"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 3
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 330001
L6_1 = 330002
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_330025"
L6_1 = "SELECT_OPTION_330026"
L7_1 = "GADGET_STATE_CHANGE_330027"
L8_1 = "CHALLENGE_SUCCESS_330028"
L9_1 = "CHALLENGE_FAIL_330029"
L10_1 = "ANY_GADGET_DIE_330030"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 330003
L7_1 = 330004
L8_1 = 330005
L9_1 = 330006
L10_1 = 330007
L11_1 = 330008
L12_1 = 330009
L13_1 = 330010
L14_1 = 330011
L15_1 = 330012
L16_1 = 330013
L17_1 = 330014
L18_1 = 330015
L19_1 = 330016
L20_1 = 330017
L21_1 = 330018
L22_1 = 330019
L23_1 = 330020
L24_1 = 330021
L25_1 = 330022
L26_1 = 330023
L27_1 = 330024
L28_1 = 330031
L29_1 = 330032
L30_1 = 330033
L31_1 = 330034
L32_1 = 330035
L33_1 = 330036
L34_1 = 330037
L35_1 = 330038
L36_1 = 330039
L37_1 = 330040
L38_1 = 330041
L39_1 = 330042
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L5_1[10] = L15_1
L5_1[11] = L16_1
L5_1[12] = L17_1
L5_1[13] = L18_1
L5_1[14] = L19_1
L5_1[15] = L20_1
L5_1[16] = L21_1
L5_1[17] = L22_1
L5_1[18] = L23_1
L5_1[19] = L24_1
L5_1[20] = L25_1
L5_1[21] = L26_1
L5_1[22] = L27_1
L5_1[23] = L28_1
L5_1[24] = L29_1
L5_1[25] = L30_1
L5_1[26] = L31_1
L5_1[27] = L32_1
L5_1[28] = L33_1
L5_1[29] = L34_1
L5_1[30] = L35_1
L5_1[31] = L36_1
L5_1[32] = L37_1
L5_1[33] = L38_1
L5_1[34] = L39_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
suites = L2_1
function L2_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 330002 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_CREATE_330025 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetWorktopOptionsByGroupId
  L3_2 = A0_2
  L4_2 = 133223330
  L5_2 = 330002
  L6_2 = {}
  L7_2 = 7
  L6_2[1] = L7_2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_CREATE_330025 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 330002 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 7 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_SELECT_OPTION_330026 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 330002
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 330001
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 133223330
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = {}
  L2_2.x = -5927.276
  L2_2.y = 248.5695
  L2_2.z = -2585.603
  L3_2 = {}
  L3_2.x = 0
  L3_2.y = 0
  L3_2.z = 0
  L4_2 = ScriptLib
  L4_2 = L4_2.BeginCameraSceneLook
  L5_2 = A0_2
  L6_2 = {}
  L6_2.look_pos = L2_2
  L6_2.is_allow_input = false
  L6_2.duration = 2
  L6_2.is_force = true
  L6_2.is_broadcast = false
  L6_2.is_recover_keep_current = true
  L6_2.delay = 0
  L6_2.is_set_follow_pos = false
  L6_2.follow_pos = L3_2
  L6_2.is_force_walk = false
  L6_2.is_change_play_mode = false
  L6_2.is_set_screen_XY = false
  L6_2.screen_x = 0
  L6_2.screen_y = 0
  L4_2 = L4_2(L5_2, L6_2)
  if 0 ~= L4_2 then
    L4_2 = ScriptLib
    L4_2 = L4_2.PrintContextLog
    L5_2 = A0_2
    L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
    L4_2(L5_2, L6_2)
    L4_2 = -1
    return L4_2
  end
  L4_2 = 0
  return L4_2
end
action_EVENT_SELECT_OPTION_330026 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 330001 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_330027 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 666
  L5_2 = 77
  L6_2 = L1_1.duration
  L7_2 = 2
  L8_2 = 999
  L9_2 = L1_1.sum
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_330027 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 330001
  L5_2 = GadgetState
  L5_2 = L5_2.GearStop
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 133223330
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.GoToGroupSuite
  L3_2 = A0_2
  L4_2 = 133223330
  L5_2 = 3
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : goto_groupSuite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_330028 = L2_1
function L2_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 330001
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 330002
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 133223330
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_FAIL_330029 = L2_1
L2_1 = require
L3_1 = "V2_0/ElectricCore"
L2_1(L3_1)
